package com.guyaogg.gulimall.seckill.service;

import com.guyaogg.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @author 顾遥
 */
public interface SeckillService {
    /**
     * 上架秒杀商品，三天内
     */
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);

}
